package com.bgs.mapper;

import com.bgs.entity.User;
import com.bgs.pojo.CollectionsVo;
import com.bgs.pojo.FootprintVo;
import com.bgs.pojo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;
@Mapper
public interface UserMapper {
    List<User> load3(Integer riderId);

    User load(Integer userId);

    void updateemail(@Param("userId") String userId, @Param("userEmail2") String userEmail2);

    void updatepayment(@Param("userId") String userId, @Param("payment1") String payment1);

    UserVo getUserLogon(@Param("phone") String phone, @Param("password") String password);

    List<CollectionsVo> loadcoll(Integer userId);

    void updatestate(@Param("userId") Integer userId,@Param("collectionsId") Integer collectionsId);

    List<FootprintVo> loadfoot(Integer userId);

    void updatestates(@Param("userId")Integer userId, @Param("footprintId")Integer footprintId);
}
